package com.jingjiu.homeservicesapi.domain;


/**
 * 用户亲属信息：用于记录一个用户的多个亲属信息（如父母、子女等）对象 user_relative
 * 
 * @author ruoyi
 * @date 2025-04-16
 */
public class UserRelative
{
    private static final long serialVersionUID = 1L;

    /** 亲属记录ID */
    private Long id;

    /** 关联的用户ID */

    private Long userId;

    /** 亲属姓名 */

    private String name;

    /** 与用户关系 */

    private String relation;

    /** 亲属联系电话 */

    private String phone;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setRelation(String relation) 
    {
        this.relation = relation;
    }

    public String getRelation() 
    {
        return relation;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }


}
